<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<div class="resume-inf1">
    <div class="avatar_box">
        <img src="http://localhost/hire-front-end/imgs/${resume.resume.resumeAvatar}" alt="">
    </div>
    <div class="per_info">
        <span style="font-size: 20px;font-weight: bolder;">${resume.resume.name}</span>
        <br><span>${resume.resume.sex}</span>
        <span>&nbsp|&nbsp</span>
        <span>${resume.resume.resIdentity}</span>
        <span>&nbsp|&nbsp</span>
        <span>${resume.resume.resState}</span>
        <br><span>${resume.resume.area}</span>
        <span>&nbsp|&nbsp</span>
        <span><fmt:formatDate value="${resume.resume.birthday}" pattern="yyyy/MM/dd"/></span>
        <br><span>${resume.resume.phone}</span>
        <span>&nbsp|&nbsp</span>
        <span>${resume.resume.email}</span>
    </div>
    <div class="button_edit">
        <button type="button" id="button_basic_edit">编辑</button>
    </div>
</div>
<script>
    $("#button_basic_edit").click(function () {
        let resumeId = $("#resumeId").val();
        $("#basic_edit").load("/hire/resume/basic_edit", {id: resumeId});
        $("#basic_info").hide();
        $("#basic_edit").show();
    })
</script>